﻿package com.sh.game.util
{

    public class MColor extends Object
    {
        public static const V_NORMAL:uint = 11704940;
        public static const V_OVER:uint = 16775086;
        public static const V_OVER1:uint = 16636570;
        public static const V_NORMAL2:uint = 12820073;
        public static const V_OVER2:uint = 16571288;
        public static const V_NDOWN2:uint = 7957329;
        public static const ROLE_PINK:uint = 16623869;
        public static const ROLE_GRAY:uint = 12829635;
        public static const ROLE_YELLOW:uint = 14532646;
        public static const T_WHITE:uint = 16777215;
        public static const T_WHITE2:uint = 11908533;
        public static const T_BLUE:uint = 6736895;
        public static const T_BLUE2:uint = 110833;
        public static const T_YELLOW:uint = 16776961;
        public static const T_YELLOW2:uint = 16763904;
        public static const T_GREEN:uint = 65024;
        public static const T_GREEN2:uint = 39168;
        public static const T_RED:uint = 16646144;
        public static const T_PINK:uint = 16743296;
        public static const T_ORANGE:uint = 16737792;
        public static const T_PINK2:uint = 16144512;
        public static const S_NORMAL:String = "B29A6C";
        public static const S_OVER:String = "FFF7AE";
        public static const S_NORMAL2:String = "C39E69";
        public static const S_OVER2:String = "FCDB98";
        public static const S_NDOWN2:String = "796B51";
        public static const S_ROLE_PINK:String = "FDA8FD";
        public static const S_ROLE_GRAY:String = "C3C3C3";
        public static const S_ROLE_YELLOW:String = "DDC026";
        public static const S_WHITE:String = "FFFFFF";
        public static const S_WHITE2:String = "B5B5B5";
        public static const S_BLUE:String = "66CBFF";
        public static const S_BLUE2:String = "01B0F1";
        public static const S_YELLOW:String = "FFFF01";
        public static const S_YELLOW2:String = "FFCC00";
        public static const S_GREEN:String = "00FF01";
        public static const S_GREEN2:String = "009900";
        public static const S_RED:String = "FE0000";
        public static const S_PINK:String = "FF7B80";
        public static const S_ORANGE:String = "FF6600";
        public static const S_PINK2:String = "f65880";
        public static const PetLv1:uint = 65535;
        public static const PetLv2:uint = 4251856;
        public static const PetLv3:uint = 8900331;
        public static const PetLv4:uint = 6970061;
        public static const PetLv5:uint = 2003199;
        public static const PetLv6:uint = 255;
        public static const PetLv7:uint = 1644912;
        public static const New1:uint = 16777215;
        public static const New2:uint = 11908533;
        public static const New3:uint = 6737151;
        public static const New4:uint = 45296;
        public static const New5:uint = 16776960;
        public static const New6:uint = 16763904;
        public static const New7:uint = 64768;
        public static const New8:uint = 39168;
        public static const New9:uint = 16711680;
        public static const New10:uint = 16743295;
        public static const New11:uint = 16737792;
        public static const New12:uint = 12402451;
        public static const New15:uint = 11704940;
        public static const New16:uint = 16775087;
        public static const New17:uint = 7957329;
        public static const New18:uint = 6710629;
        public static const New19:uint = 11680494;
        public static const New20:uint = 2697394;
        public static const New21:uint = 12915994;
        public static const New22:uint = 16689404;
        public static const New23:uint = 12698049;
        public static const New24:uint = 14598182;
        public static const New25:uint = 1572840;
        public static const New26:uint = 1066447;
        public static const New27:uint = 1249808;
        public static const New28:uint = 2834249;
        public static const New29:uint = 10838584;
        public static const New30:uint = 6989595;
        public static const Newstr1:String = "#ffffff";
        public static const Newstr2:String = "#b5b5b5";
        public static const Newstr3:String = "#66ccff";
        public static const Newstr4:String = "#00b0f0";
        public static const Newstr5:String = "#ffff00";
        public static const Newstr6:String = "#ffcc00";
        public static const Newstr7:String = "#00FE00";
        public static const Newstr8:String = "#009900";
        public static const Newstr9:String = "#ff0000";
        public static const Newstr10:String = "#ff7b7f";
        public static const Newstr11:String = "#ff6600";
        public static const Newstr12:String = "#bd3f13";
        public static const Newstr15:String = "#b29a6c";
        public static const Newstr16:String = "#fff7af";
        public static const Newstr17:String = "#796b51";
        public static const Newstr18:String = "#666565";
        public static const Newstr19:String = "#b23aee";
        public static const Newstr20:String = "#2928b2";
        public static const Newstr21:String = "#c5151a";
        public static const Newstr22:String = "#fea8fc";
        public static const Newstr23:String = "#c1c1c1";
        public static const Newstr24:String = "#dec026";
        public static const Newstr25:String = "#17ffe8";
        public static const Newstr26:String = "#1045cf";
        public static const Newstr27:String = "#131210";
        public static const Newstr28:String = "#2b3f49";
        public static const Newstrr1:String = "ffffff";
        public static const Newstrr2:String = "b5b5b5";
        public static const Newstrr3:String = "66ccff";
        public static const Newstrr4:String = "00b0f0";
        public static const Newstrr5:String = "ffff00";
        public static const Newstrr6:String = "ffcc00";
        public static const Newstrr7:String = "00FE00";
        public static const Newstrr8:String = "009900";
        public static const Newstrr9:String = "ff0000";
        public static const Newstrr10:String = "ff7b7f";
        public static const Newstrr11:String = "ff6600";
        public static const Newstrr12:String = "bd3f13";
        public static const Newstrr15:String = "b29a6c";
        public static const Newstrr16:String = "fff7af";
        public static const Newstrr17:String = "796b51";
        public static const Newstrr18:String = "666565";
        public static const Newstrr19:String = "b23aee";
        public static const Newstrr20:String = "2928b2";
        public static const Newstrr21:String = "c5151a";
        public static const Newstrr22:String = "fea8fc";
        public static const Newstrr23:String = "c1c1c1";
        public static const Newstrr24:String = "dec026";
        public static const Newstrr25:String = "17ffe8";
        public static const Newstrr26:String = "1045cf";
        public static const Newstrr27:String = "131210";
        public static const Newstrr28:String = "2b3f49";
        public static const New50:uint = 12154699;
        public static const New51:uint = 12154699;
        public static const New52:uint = 15693590;
        public static const New53:uint = 15693590;
        public static const New54:uint = 13051156;
        public static const New55:uint = 15693590;
        public static const New56:uint = 13051156;
        public static const New57:uint = 7760738;
        public static const New58:uint = 7760738;
        public static const New59:uint = 16770247;
        public static const New60:uint = 10059616;
        public static const New61:uint = 5485622;
        public static const New62:uint = 5485622;
        public static const New63:uint = 7760738;
        public static const New64:uint = 14786337;
        public static const New65:uint = 5485622;
        public static const New66:uint = 4956382;
        public static const New67:uint = 13575845;
        public static const New68:uint = 4956382;
        public static const New69:uint = 52050;
        public static const New70:uint = 13575845;
        public static const New71:uint = 4956382;
        public static const New72:uint = 4956382;
        public static const New73:uint = 4956382;
        public static const New74:uint = 4956382;
        public static const New75:uint = 1586291;
        public static const New76:uint = 1052828;
        public static const New77:uint = 14786337;
        public static const New78:uint = 5485622;
        public static const New79:uint = 5485622;
        public static const New80:uint = 14786337;
        public static const New81:uint = 14786337;
        public static const New82:uint = 14786337;
        public static const New83:uint = 10059616;
        public static const New84:uint = 15693590;
        public static const New85:uint = 65535;
        public static const New86:uint = 7760738;
        public static const New87:uint = 13575845;
        public static const New88:uint = 16777215;
        public static const New89:uint = 63231;
        public static const New90:uint = 4889310;
        public static const New91:uint = 39622;
        public static const New92:uint = 91030;
        public static const New93:uint = 1586299;
        public static const New94:uint = 1114357;
        public static const New95:uint = 4863;
        public static const New96:uint = 15335679;
        public static const New97:uint = 16747008;
        public static const New98:uint = 16711704;
        public static const Newstr50:String = "#b9774b";
        public static const Newstr51:String = "#b9774b";
        public static const Newstr52:String = "#ef7716";
        public static const Newstr53:String = "#ef7716";
        public static const Newstr54:String = "#c72514";
        public static const Newstr55:String = "#ef7716";
        public static const Newstr56:String = "#c72514";
        public static const Newstr57:String = "#766b62";
        public static const Newstr58:String = "#766b62";
        public static const Newstr59:String = "#ffe4c7";
        public static const Newstr60:String = "#997f60";
        public static const Newstr61:String = "#53b436";
        public static const Newstr62:String = "#53b436";
        public static const Newstr63:String = "#766b62";
        public static const Newstr64:String = "#e19f21";
        public static const Newstr65:String = "#53b436";
        public static const Newstr66:String = "#4ba0de";
        public static const Newstr67:String = "#cf26a5";
        public static const Newstr68:String = "#4ba0de";
        public static const Newstr69:String = "#00cb52";
        public static const Newstr70:String = "#cf26a5";
        public static const Newstr71:String = "#4ba0de";
        public static const Newstr72:String = "#4ba0de";
        public static const Newstr73:String = "#4ba0de";
        public static const Newstr74:String = "#4ba0de";
        public static const Newstr75:String = "#183473";
        public static const Newstr76:String = "#10109c";
        public static const Newstr77:String = "#e19f21";
        public static const Newstr78:String = "#53b436";
        public static const Newstr79:String = "#53b436";
        public static const Newstr80:String = "#e19f21";
        public static const Newstr81:String = "#e19f21";
        public static const Newstr82:String = "#e19f21";
        public static const Newstr83:String = "#997f60";
        public static const Newstr84:String = "#ef7716";
        public static const Newstr85:String = "#00ffff";
        public static const Newstr86:String = "#766b62";
        public static const Newstr87:String = "#cf26a5";
        public static const Newstr88:String = "#ffffff";
        public static const Newstr89:String = "#00f6ff";
        public static const Newstr90:String = "#4a9ade";
        public static const Newstr91:String = "#009ac6";
        public static const Newstr92:String = "#016396";
        public static const Newstr93:String = "#18347b";
        public static const Newstr94:String = "#1100f5";
        public static const Newstr95:String = "#0012ff";
        public static const Newstr96:String = "#ea00ff";
        public static const Newstr97:String = "#ff8a00";
        public static const Newstr98:String = "#ff0018";
        public static const UnionFriend:uint = 5197518;
        public static const UnionOpp:uint = 16737792;

        public function MColor()
        {
            return;
        }// end function

        public static function getHMTL(param1:String, param2:int) : String
        {
            var _loc_3:* = getColor(param2);
            var _loc_4:* = "<font color=\'" + _loc_3 + "\'>" + param1 + "</font>";
            return "<font color=\'" + _loc_3 + "\'>" + param1 + "</font>";
        }// end function

        public static function getColorUint(param1:int) : uint
        {
            var _loc_2:uint = 16777215;
            if (MColor["New" + param1] != null)
            {
                _loc_2 = MColor["New" + param1];
            }
            return _loc_2;
        }// end function

        public static function getColor(param1:int) : String
        {
            var _loc_2:String = "#ffffff";
            if (MColor["Newstr" + param1])
            {
                _loc_2 = MColor["Newstr" + param1];
            }
            return _loc_2;
        }// end function

        public static function getqualitycolorUint(param1:int) : int
        {
            var _loc_2:uint = 0;
            switch(param1)
            {
                case 1:
                {
                    _loc_2 = New1;
                    break;
                }
                case 2:
                {
                    _loc_2 = New7;
                    break;
                }
                case 3:
                {
                    _loc_2 = New4;
                    break;
                }
                case 4:
                {
                    _loc_2 = New19;
                    break;
                }
                case 5:
                {
                    _loc_2 = New11;
                    break;
                }
                case 6:
                {
                    _loc_2 = New11;
                    break;
                }
                case 7:
                {
                    _loc_2 = New9;
                    break;
                }
                default:
                {
                    break;
                    break;
                }
            }
            return _loc_2;
        }// end function

        public static function getqualitycolor(param1:int) : String
        {
            var _loc_2:String = "";
            switch(param1)
            {
                case 1:
                {
                    _loc_2 = Newstr1;
                    break;
                }
                case 2:
                {
                    _loc_2 = Newstr7;
                    break;
                }
                case 3:
                {
                    _loc_2 = Newstr4;
                    break;
                }
                case 4:
                {
                    _loc_2 = Newstr19;
                    break;
                }
                case 5:
                {
                    _loc_2 = Newstr11;
                    break;
                }
                case 6:
                {
                    _loc_2 = Newstr11;
                    break;
                }
                case 7:
                {
                    _loc_2 = Newstr9;
                    break;
                }
                default:
                {
                    break;
                    break;
                }
            }
            return _loc_2;
        }// end function

    }
}
